﻿/*****************************************************************//**
 * @file    FITKAcousticsVTKViewAdaptorSEAJunctionAreas.h
 * @brief   Adaptor for SEA junction areas data.
 *  
 * @author  ChengHaotian (yeguangbaozi@foxmail.com)
 * @date    2024-11-19
 *********************************************************************/

#ifndef __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREAS_H__
#define __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREAS_H__

#include "FITKAcousticsVTKViewAdaptorBase.h"

#include "FITKAcousticsVTKGraphAdaptorAPI.h"

namespace Exchange
{
    /**
     * @brief   Graph object data adaptor for 'SEA junction areas'.
     * @author  ChengHaotian (yeguangbaozi@foxmail.com)
     * @date    2024-11-19
     */
    class FITKACOUSTICSGRAPHADAPTORAPI FITKAcousticsVTKViewAdaptorSEAJunctionAreas : public FITKAcousticsVTKViewAdaptorBase
    {
        // Regist
        FITKCLASS(Exchange, FITKAcousticsVTKViewAdaptorSEAJunctionAreas);

    public:
        /**
         * @brief   Constructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-19
         */
        explicit FITKAcousticsVTKViewAdaptorSEAJunctionAreas() = default;

        /**
         * @brief   Destructor.
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-19
         */
        ~FITKAcousticsVTKViewAdaptorSEAJunctionAreas() = default;

        /**
         * @brief   Execute the data exchange.[override]
         * @return  Is OK
         * @author  ChengHaotian (yeguangbaozi@foxmail.com)
         * @date    2024-11-19
         */
        bool update() override;

    };

    // Regist SEA junction areas adaptor
    Register2FITKViewAdaptorFactory(SEAJunctionAreas, Acoustics::FITKAcousticsDiscModel, FITKAcousticsVTKViewAdaptorSEAJunctionAreas);
}   // namespace Exchange

#endif // __FITKACOUSTICSVTKVIEWADAPTORSEAJUNCTIONAREAS_H__